Proxy

interface Proxy : ProfileService

Allows modifying proxy configuration.

Functions

Link copied to clipboard
abstract fun config(): ProxyConfig
Returns the current proxy configuration.
abstract fun config(proxyConfig: AutoDetectProxyConfig)
abstract fun config(proxyConfig: CustomProxyConfig)
abstract fun config(proxyConfig: DirectProxyConfig)
abstract fun config(proxyConfig: SystemProxyConfig)
abstract fun config(proxyConfig: UrlProxyConfig)
Updates the current proxy configuration with the given config.
Link copied to clipboard
abstract fun profile(): Profile
Returns the profile of this service.